﻿using System;
using System.Net;
using System.Collections.Generic;

namespace anael.Data
{
    public class User
    {
        public string Id { get; set; }
        public string Name { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public string Link { get; set; }
        public string Gender { get; set; }
        public string Email { get; set; }
        public string TimeZone { get; set; }
        public string Localed { get; set; }
        public bool Verified { get; set; }
        public string UpdatedTime { get; set; }

        public List<Friend> Friends { get; set; }
        public int NumberOfFriends
        {
            get
            {
                if (Friends != null)
                {
                    return Friends.Count;
                }
                else
                {
                    return 0;
                }
            }
        }
    }
}
